writing exponential equations in logarithmic form